package com.tanhua.login.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin implements Serializable {

    private String id; //用户id

    private String username; //账号

    @JSONField
    private String password; //密码

    private String avatar; //头像
}
